﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.postgresql
{
	// Token: 0x02000120 RID: 288
	public class TDropRoleSqlStatement : TCustomSqlStatement
	{
		// Token: 0x06000940 RID: 2368 RVA: 0x00303245 File Offset: 0x00301445
		public TDropRoleSqlStatement(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstpostgresqlDropRole;
		}

		// Token: 0x06000941 RID: 2369 RVA: 0x00303259 File Offset: 0x00301459
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000942 RID: 2370 RVA: 0x0030326E File Offset: 0x0030146E
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000943 RID: 2371 RVA: 0x0030327E File Offset: 0x0030147E
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
